import { createStore } from "redux";
// 引入 redux devtools
import { composeWithDevTools } from "@redux-devtools/extension";

import rootReducer from "./reducers";

// 创建 store
const store = createStore(rootReducer, composeWithDevTools());

export default store;
